<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本属性</title>
    <style>
        #box1 {
            color: red;
        }

        #box2 {
            color: black;
            opacity: 40%;
        }

        #box3 {
            font-family: 幼圆;
            font-size: 2em;
            font-weight: bolder;
            font-style: italic;
        }

        #box4 {
            border: 1px red solid;
            width: 200px;
            height: 200px;
            text-align: center;
            line-height: 200px;
        }

        #box5 {
            text-decoration: underline;
            text-decoration: none;
        }

        #box6 {
            letter-spacing: 30px;
        }

        #box7 {
            border: 1px red solid;
            width: 100px;
            height: 100px;
            overflow: auto;
        }

    </style>
</head>
<body>
<div id="box1">我是盒子1</div>
<div id="box2">我是盒子2</div>
<div id="box3">我是盒子3</div>
<div id="box4">我是盒子4</div>
<div id="box5">我是盒子5</div>
<div id="box6">我是盒子6</div>
<div id="box7">
    <pre>
    我是盒子7我是盒子7我是盒子7我是盒子7
    我是盒子7我是盒子7
    我是盒子7我是盒子7我是盒子7我是盒子7我是盒子7我是盒子7
    </pre>
</div>
</body>
</html>